package com.ruoyi.system.domain.construction;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 施工队视频信息对象 construction_video
 * 
 * @author 张少丛
 * @date 2020-11-07
 */
public class ConstructionVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工队视频ID */
    private Integer constructionVideoId;

    /** 施工队D */
    @Excel(name = "施工队D")
    private Integer constructionInfoId;

    /** 视频URL */
    @Excel(name = "视频URL")
    private String vidUrl;

    /** 视频排序 */
    @Excel(name = "视频排序")
    private Integer vidOrder;

    /** 视频是否有效：0无效 1有效 */
    @Excel(name = "视频是否有效：0无效 1有效")
    private String vidStatus;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    /** $column.columnComment */
    private String delFlag;

    private ConstructionInfo constructionInfo;

    /** 施工人员组 */
    private List<Long> constructionInfoIds;

    public void setConstructionVideoId(Integer constructionVideoId) 
    {
        this.constructionVideoId = constructionVideoId;
    }

    public Integer getConstructionVideoId() 
    {
        return constructionVideoId;
    }
    public void setConstructionInfoId(Integer constructionInfoId) 
    {
        this.constructionInfoId = constructionInfoId;
    }

    public Integer getConstructionInfoId() 
    {
        return constructionInfoId;
    }
    public void setVidUrl(String vidUrl) 
    {
        this.vidUrl = vidUrl;
    }

    public String getVidUrl() 
    {
        return vidUrl;
    }
    public void setVidOrder(Integer vidOrder) 
    {
        this.vidOrder = vidOrder;
    }

    public Integer getVidOrder()
    {
        return vidOrder;
    }
    public void setVidStatus(String vidStatus)
    {
        this.vidStatus = vidStatus;
    }

    public String getVidStatus()
    {
        return vidStatus;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<Long> getConstructionInfoIds() {
        return constructionInfoIds;
    }

    public void setConstructionInfoIds(List<Long> constructionInfoIds) {
        this.constructionInfoIds = constructionInfoIds;
    }

    public ConstructionInfo getConstructionInfo() {
        return constructionInfo;
    }

    public void setConstructionInfo(ConstructionInfo constructionInfo) {
        this.constructionInfo = constructionInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("constructionVideoId", getConstructionVideoId())
            .append("constructionInfoId", getConstructionInfoId())
            .append("vidUrl", getVidUrl())
            .append("vidOrder", getVidOrder())
            .append("vidStatus", getVidStatus())
            .append("modifiedTime", getModifiedTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
